﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IHISCETeim.DAL;
using IHISCETeim.Model;
using IHISCETeim.Library;
using System.Data;

namespace IHISCETeim.BLL
{
    public  class OJobJinKouController
    {
        public static int Add(string MachineType, string SerialNumber, DateTime DownlineDate)
        {
            return OJobJinKouDAL.Add(MachineType, SerialNumber, DownlineDate);
        }
        public static DataTable GetAllList()
        {
            return OJobJinKouDAL.GetAllList();
        }
        public static int GetSum(string MachineType, int IsInStorage)
        {
            return OJobJinKouDAL.GetSum(MachineType, IsInStorage);
        }
        public static bool Update(int Id, DateTime InStorageDate, string WhsCode, bool Status)
        {
            return OJobJinKouDAL.Update(Id, InStorageDate, WhsCode, Status);
        }

    }
}
